using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DAL;
using DL;
/// <summary>
/// Summary description for NewsMenuBL
/// </summary>
namespace BL 
{
    public class NewsMenuBL  
    {
    	#region Private Variables
		NewsMenuDAL objNewsMenuDAL;
		#endregion
		
        #region Public Constructors
        public NewsMenuBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objNewsMenuDAL=new NewsMenuDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(NewsMenuDL objNewsMenuDL)
        {
            return objNewsMenuDAL.Insert(objNewsMenuDL);
        }

        public int Update(NewsMenuDL objNewsMenuDL)
        {
             return objNewsMenuDAL.Update(objNewsMenuDL);

        }

        public int Delete(NewsMenuDL objNewsMenuDL)
        {
             return objNewsMenuDAL.Delete(objNewsMenuDL);

        }

         public int DeleteAll()
        {
             return objNewsMenuDAL.DeleteAll();
        }

        public NewsMenuDL Select(NewsMenuDL objNewsMenuDL)
        {
            return objNewsMenuDAL.Select(objNewsMenuDL);
        }

        public ArrayList SelectAll1( )
        {
         return objNewsMenuDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objNewsMenuDAL.SelectAll();
        }


     
#endregion          
    
    }

}
